/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cl.osera.snippet

import scala.xml.{NodeSeq}
import cl.osera._
import model._

class Util {
  def in (html : NodeSeq) =
    if ( User.loggedIn_? ) html else NodeSeq.Empty
    // if ( true ) html else NodeSeq.Empty
  def out(html : NodeSeq) =
    if ( !User.loggedIn_? ) html else NodeSeq.Empty
    // if ( false ) html else NodeSeq.Empty
}

